CC=g++ 
CFLAGS=-c -I"./h"
LDFLAGS=-lPocoFoundation -lPocoNet -lPocoXML -lopencv_core -lopencv_highgui -lopencv_imgproc
SOURCES=./src/ConnectionHandler.cpp ./src/CvtColor.cpp ./src/Effect.cpp ./src/Employee.cpp ./src/Encoder.cpp ./src/Gaussian.cpp  ./src/Job.cpp ./src/PocoXMLParser.cpp ./src/Resize.cpp ./src/RunEmployee.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=Ass4

all: $(SOURCES) $(EXECUTABLE)
	
$(EXECUTABLE): $(OBJECTS) 
	$(CC) $(LDFLAGS) $(OBJECTS) -o $@

.cpp.o:
	$(CC) $(CFLAGS) $< -o $@

all: ant